<?php
define("SERVICE_TITLE", "O'My Friends");

//FACEBOOK Configuration
if($_SERVER['HTTP_HOST'] == "localhost"){
    //Dev server
    define("FB_APP_ID","160841413944715");
    define("FB_APP_SECRET","6e4adc114f727381173eadffcdaa135c");
} else {
    //Live server
    define("FB_APP_ID","153950467978204");
    define("FB_APP_SECRET","82fd17a5972c84a402f05b59591c2579");    
}

define("FB_JAVASCRIPT_SDK_URL", "connect.facebook.net/en_US/all.js");
define('QUERY_SINCE', strtotime("-6 month"));

//Max Length for friendship history
define('STRING_LENGTH', 200);

//Flags
define("MESSAGE_FLAG", 1);
define("POST_FLAG", 2);
define("COMMENT_FLAG", 4);
define("LIKE_FLAG", 8);

//MySQL configuration
$dbms = 'mysqli';
$dbhost = "localhost";
$dbuser = "root";
$dbpasswd = "";
$dbname = "amigo";
$dbport = null;


